package teacher;

import basic.ClientConsole;

import com.sun.rowset.CachedRowSetImpl;

import flexibility.userData;

public class getCoursesID {
	
	public CachedRowSetImpl getCourseID(ClientConsole teacherConnection,
			CachedRowSetImpl rs, userData T_Data,Integer myID,String s1,int semID){
		//s1=course Name
		//semID=current sem ID
		T_Data.deleteAll();
		T_Data.addData(28);
		T_Data.addData(1);
		T_Data.addData(myID);
		T_Data.addData(semID);
		T_Data.addData(s1);
		teacherConnection.acceptMsg(T_Data);
        rs = teacherConnection.getResults();
		return rs;
		
	}

}
